After a derailment wiped out the mains and a bridge, the Mark IV puts the finishing touches on the shoefly.